<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>demo1</title>
</head>

<body>
    <script>
        function demo() {
            console.log(this);
        }
        demo();
        const x = demo.bind({ a: 1, b: 2 });
        x();
    </script>
</body>

</html>